import React, { Component } from "react";
import '../assets/css/Top.css';

export default class Top extends Component {
    render() {
        let {title} = this.props
        return (
            <header className="top">
                <div className="t-left iconfont icon-arrow-left"></div>
                <h3>{title ? title : '小U优选'}</h3>
                <div className="t-right iconfont icon-xiaochengxu"></div>
            </header>
        );
    }
}
